package com.cyzy.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@TableName("car_model")
public class CarModel {
  @TableId(type = IdType.AUTO)
  private long carStyleId;
  private String modelName;
  private String priceType;
  private String carName;
  private long baseFare;
  private long pricePerBlackKm;
  private long pricePerWhiteKm;
  private long startingKilometers;
  private long longKilometers;
  private long longKmMoney;
  private String carUrl;
  private String carStatus;
  private java.sql.Timestamp createTime;
  private String deleted;
  @TableField(exist = false) //数据库不存在这字段
  private Double money; //价格

}
